package pkg.andru.watcher;

import android.content.Intent;

/**
 * event listener
 * 
 * @author idiottiger
 * @version 1.0
 * 
 */
public interface OnEventListener {

    /**
     * do something when you receive system event
     * 
     * @param event
     *            event type
     * @param intent
     *            if it's broadcast, will pass a intent obj, you can get the
     *            pass data from intent
     */
    public void handleEvent(int event, Intent intent);

}
